<div id="header">
    <h1 id="title">
        <a href="http://casework.cloudfoundry.com"><img
                src="${resource(dir: 'images', file: 'RxInsight_header_small.jpg')}" alt="Grails" border="0"/>
        </a>
    </h1>
</div>

<div class="header-nav">
    <ul>
        <li><g:link controller="home" action="index">Home</g:link></li>
        <li><g:link controller="home" action="register">Register</g:link></li>
        <li><a href="${request.contextPath}/feedback">Feedback</a></li>
        <li><g:link controller="home" action="aboutUs">About Us</g:link></li>
        <li><g:link controller="home" action="contactUs">Contact Us</g:link></li>
    </ul>

    <span class="login-link">
        <sec:ifLoggedIn>
            Logged in as <sec:username/> (<g:link controller='logout'>Logout</g:link>)
        </sec:ifLoggedIn>
        <sec:ifNotLoggedIn>
            <g:link controller="login" action="auth">Login</g:link>
        </sec:ifNotLoggedIn>
    </span>
</div>

